package com.bootdo.contract.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.contract.dao.UserMissionDao;
import com.bootdo.contract.domain.UserMissionDO;
import com.bootdo.contract.service.UserMissionService;



@Service
public class UserMissionServiceImpl implements UserMissionService {
	@Autowired
	private UserMissionDao userMissionDao;
	
	@Override
	public UserMissionDO get(Long id){
		return userMissionDao.get(id);
	}
	
	@Override
	public List<UserMissionDO> list(Map<String, Object> map){
		return userMissionDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return userMissionDao.count(map);
	}
	
	@Override
	public int save(UserMissionDO userMission){
		return userMissionDao.save(userMission);
	}
	
	@Override
	public int update(UserMissionDO userMission){
		return userMissionDao.update(userMission);
	}
	
	@Override
	public int remove(Long id){
		return userMissionDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return userMissionDao.batchRemove(ids);
	}
	
}
